package com.huage.courseplatform.application.model.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.huage.courseplatform.framework.model.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="文件响应参数",description="文件响应参数")
public class SysFileDTO  implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "主键id")
    private String id;

    @ApiModelProperty(value = "服务器文件名称")
    private String fileName;

    @ApiModelProperty(value = "上传文件名称")
    private String realName;

    @ApiModelProperty(value = "文件后缀")
    private String ext;

    @ApiModelProperty(value = "文件路径")
    private String path;

    @ApiModelProperty(value = "文件大小")
    private Long size;

    @ApiModelProperty(value = "文件类型")
    private String type;

    @ApiModelProperty(value = "文件完整访问路径")
    private String realPath;

}
